﻿using System;
using System.Windows;

using SBPweb.RIA.Client.Contracts.Base;

namespace SBPweb.Sharepoint.Client.Controls.Users
{

    public class UserTag : DependencyObjectBase
    {

        public static readonly DependencyProperty LookupIdProperty = DependencyProperty.Register("LookupId", typeof(int), typeof(UserTag), null);
        public static readonly DependencyProperty LookupValueProperty = DependencyProperty.Register("LookupValue", typeof(string), typeof(UserTag), null);


        public int LookupId
        {
            get
            {
                return GetTypedValue<int>(LookupIdProperty);
            }
            set
            {
                SetTypedValue<int>(LookupIdProperty, value, "LookupId");
            }
        }

        public string LookupValue
        {
            get
            {
                return GetTypedValue<string>(LookupValueProperty);
            }
            set
            {
                SetTypedValue<string>(LookupValueProperty, value, "LookupValue");
            }
        }

    }

}